{extend name='base'/}
{block name='content'}
<ul class="breadcrumb no-border no-radius b-b b-light pull-in">
    <li><a href="index.html"><i class="fa fa-home"></i> Home</a></li>
    <li><a href="#">分类管理</a></li>
    <li class="active">分类编辑</li>
</ul>
<div class="col-sm-12">
    <section class="panel panel-default">
        <header class="panel-heading font-bold">分类编辑</header>
        <div class="panel-body">
            <form method="post" action="" class="bs-example form-horizontal">
                <div class="form-group">
                    <label class="col-lg-2 control-label">分类名称</label>
                    <div class="col-lg-10">
                        <input type="text" class="form-control" value="{$oldData['cname']}" name="cname">

                        <input type="hidden" class="form-control" value="{$oldData['cid']}" name="cid">
                        <input type="hidden" class="form-control" value="{$oldData['pid']}" name="pid">
                        <input type="hidden" class="form-control" value="{$oldData['tid']}" name="tid">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-lg-2 control-label">排序</label>
                    <div class="col-lg-10">
                        <input type="text" value="{$oldData['sort']}" class="form-control" name="sort">
                    </div>
                </div>


                <div class="form-group">
                    <div class="col-lg-offset-2 col-lg-10">
                        <button type="submit" class="btn btn-sm btn-default">编辑保存</button>
                    </div>
                </div>
            </form>
        </div>
    </section>
</div>
{/block}